package com.qili.entity.jc;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.sql.Date;

/**
 * @author liuyang
 * @date 2020/12/10
 * @description     服务评价字表
 */
@Table(name = "jc_project_evaluation_score")
@Data
@ToString
@EqualsAndHashCode
@Component
public class JcProjectEvaluationScore implements Serializable {

    /**
     * 主键
     */
    @Id
    @Column(name = "spes_id")
    private String spesId;

    /**
     * 服务评价主表id
     */
    @Column(name = "spe_id")
    private String speId;

    /**
     * 检查项目字典code
     */
    @Column(name = "bd_badt_code")
    private String bdBadtCode;

    @Transient
    private String bdBadtName;

    /**
     * 评分值
     */
    @Column(name = "spes_score")
    private String spesScore;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "update_time")
    private Date updateTime;

    @Transient
    private String spId;

    @Transient
    private String one;

    @Transient
    private String two;

    @Transient
    private String three;

    @Transient
    private String four;

    @Transient
    private String avgScore;

    @Transient
    private String speTargetUserId;


}
